// CyberXMain.h

#ifndef __CyberXMAIN_H__
#define __CyberXMAIN_H__

#include "..\Core\Singleton.h"
#include "ICyberXMain.h"

class CD3D9Device;
class CD3D9BufferManager;
class CRenderUnitMgr;
class CCyberXMain : public ICyberXMain
{
private:
	CD3D9Device* m_pDevice;
	CD3D9BufferManager* m_pBufferManager;
	CRenderUnitMgr* m_pRenderUnitMgr;
public:
	CCyberXMain(void);
	virtual ~CCyberXMain();

	virtual bool Initialize(HWND hWnd, int nWidth, int nHeight, bool bWindow);

	virtual void RenderBegin(void);
	virtual void RenderEnd(void);
	virtual void Render(void);
	virtual void Process(void);

//	virtual ICameraPtr CreateCamera(void);

	bool AddObj(void);
};

#endif